<?php

namespace App\Imports;

use App\Common\statement\CommonStatement;
use App\Exceptions\api\BaseException;
use App\Models\goods\Goods;
use App\Models\User;
use App\Models\user\Depart;
use Illuminate\Support\Facades\DB;
use Maatwebsite\Excel\Concerns\ToCollection;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\WithConditionalSheets;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;

class UserImport implements WithMultipleSheets
{
    use WithConditionalSheets;

    public function conditionalSheets(): array
    {
        return [
            'Sheet1' => new UserSheetImport(),
        ];
    }

}